package com.caption.service.impl;

import com.caption.entity.UserInfo;
import com.caption.mapper.UserInfoMapper;
import com.caption.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    @Override
    public UserInfo getInfoById(Integer id) {
        return userInfoMapper.findById(id);
    }
}
